package com.tobias.gaokao.constants;

/**
 * @author TobiasWang 2020/11/16
 */

public enum ResultEnum {
	INPUT_EMPTY("100", "输入不能为空"), USER_NOT_FOUND("101", "姓名不存在"),
	WRONG_PASS("102", "身份严重不通过"), USER_LOGOUT("103", "登录超时，请重新登录！"),
	PERMISSION_DENNY("104", "对不起，您输入的准考证号不正确！"),
	REPEAT_LOGIN("105", "不能重复登录！"),
	WRONG_PARAM("106", "准考证号不存在，请检查您输入的准考证号！"),
	SUCCESS("200", "成功");

	private String code;

	private String msg;

	ResultEnum(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}
